package cn.edu.cqupt.educationfoundation.votingsystem.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @program: votingsystem
 * @author: Yueyu
 * @create: 2019-10-27 20:53
 * @description:
 **/
@Data
@ToString
@ApiModel(value = "voteOptionVo",description = "投票展示数据模型")
public class VoteOptionVo {

    @ApiModelProperty(name = "voteOptionId",value = "选项id",dataType = "int")
    private Integer voteOptionId;
    @ApiModelProperty(name = "contributor",value = "小标题/投稿人",dataType = "string")
    private String contributor;
    @ApiModelProperty(name = "introduction",value = "选项介绍",dataType = "string")
    private String introduction;
    @ApiModelProperty(name = "content",value = "选项内容",dataType = "string")
    private String content;
    @ApiModelProperty(name = "voteFileVoList",value = "选项附带文件列表")
    private List<VoteFileVo> voteFileVoList;
    @ApiModelProperty(name = "amount",value = "当前选项票数",dataType = "int")
    private Integer amount;
}
